package com.baili.healthsystemserver.mapper;/**
 * @Author：ShenJiaFeng
 * @Package：com.baili.healthsystemserver.mapper
 * @Project：baili-health-cloud
 * @name：SystemMapper
 * @Date：2024/5/24 20:00
 */

import com.baili.healthsystem.domain.User;
import com.baili.healthsystem.domain.request.SystemRegistration;
import com.baili.healthsystem.domain.request.UserRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 *@Author：ShenJiaFeng
 *@Package：com.baili.healthsystemserver.mapper
 *@Project：baili-health-cloud
 *@name：SystemMapper
 *@Date：2024/5/24 20:00
 *@Description:
 */

/**
 * 系统持久层 mapper
 */
@Mapper
public interface SystemMapper extends BaseMapper<User> {
    /**
     * 根据 手机号/邮箱//身份证号 登录
     * @param  userRequest
     * 根据用户/
     * @return
     */
    User findByUserNameOrUserEmailOrPhoneOrIdCard(UserRequest userRequest);

}
